package com.wy.shopping.feign;

import com.wy.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient("shopping")
public interface FeignService {
    @RequestMapping("shopping/goods/list")
    R list(@RequestParam Map<String, Object> params);
}
